using System;
using System.Collections;
using System.Collections.Generic;
using DG.Tweening;
using UnityEngine;

public class CameraBlocks : MonoBehaviour
{

    public float rotateAngle = 0.0f;
    public float rotateSpeed = 0.2f;
    public Vector3 scale = new Vector3(1,1,1);
    public GameObject blocks;

    
    

    void Update()
    {
        if ( blocks )
        {
            blocks.transform.DORotate( new Vector3( 0, 0, rotateAngle ), rotateSpeed, RotateMode.Fast );
            blocks.transform.DOScale( scale, rotateSpeed );
        }
        
    }
}
